Skip to main content

RealLayer

Description

If AColor is not clByLayer, returns AColor unchanged. Otherwise, returns own Color property; if it is clByLayer too, returns Owner.RealColor if Owner exists.

Syntax

function RealColor(AColor: TColor): TColor;